<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>M-乐淘首页</title>
    <link rel="stylesheet" href="./lib/mui/css/mui.min.css">
    <link rel="stylesheet" href="./lib/fa/css/font-awesome.min.css">
    <link rel="icon" href="./favicon.ico">
    <link rel="stylesheet" href="./css/common.css">
    <link rel="stylesheet" href="./css/category.css">

</head>

<body>
    <div class="lt-layout">
        <!-- 头部 -->
        <div class="lt-header">
            <div class="he-house"><a href="#"><i class="mui-icon mui-icon-back"></i></a></div>
            <div class="he-txt">乐淘云购</div>
            <div class="he-seek"><a href="./search.html"><i class="mui-icon mui-icon-search"></i></a></div>
        </div>
        <!-- 主体 -->
        <div class="lt-main">
            <!-- 左侧导航 -->
            <div class="cat-lf-nav">
                <div class="mui-scroll-wrapper">
                    <div class="mui-scroll">
                        <ul>
                            <li class="highlight"><a href="#">运动馆</a></li>
                            <li><a href="#">运动馆</a></li>

                        </ul>
                    </div>
                </div>
            </div>

            <!-- 右侧内容区域 -->
            <div class="cat-rg-cont">
                <ul>
                    <li>
                        <a href="#">
                            <img src="./images/brand1.png" alt="">
                            <p>耐克</p>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <img src="./images/brand1.png" alt="">
                            <p>耐克</p>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <img src="./images/brand1.png" alt="">
                            <p>耐克</p>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <img src="./images/brand1.png" alt="">
                            <p>耐克</p>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
        <!-- 底部· -->
        <div class="lt-footer">
            <ul>
                <li>
                    <a href="./index.html">
                        <i class="fa fa-home"></i>
                        <p>首页</p>
                    </a>
                </li>
                <li class="stick">
                    <a href="./category.html">
                        <i class="fa fa-align-justify"></i>
                        <p>分类</p>
                    </a>
                </li>
                <li>
                    <a href="./cart.html">
                        <i class="fa fa-shopping-cart"></i>
                        <p>购物车</p>
                    </a>
                </li>
                <li>
                    <a href="./user.html">
                        <i class="fa fa-user"></i>
                        <p>用户中心</p>
                    </a>
                </li>
            </ul>
        </div>
    </div>

    <!-- 左侧导航栏，模板 -->
    <script type="text/html" id="tmp">
      {{each rows v i}}
            <li class="{{i==0?'highlight':''}}"><a href="#" data-id={{v.id}}>{{v.categoryName}}</a></li>
      {{/each}}
    </script>
    <!-- 右侧内容模板 -->
    <script type="text/html" id="temp-cont">
        {{each rows v i}}
        <li>
            <a href="#">
                <img src="{{v.brandLogo}}" alt="">
                <p>{{v.brandName}}</p>
            </a>
        </li>
        {{/each}}
    </script>

    <script src="./lib/zepto/zepto.min.js"></script>
    <script src="./lib/mui/js/mui.js"></script>
    <script src="./lib/artTemplate/template-web.js"></script>
    <script src="./js/common.js"></script>
    <script src="./js/category.js"></script>
</body>

</html>